package inter

import (
	"fmt"
)

/**
 * 定义衣服接口，具有保暖功能
 */
type Clothes interface {
	//保暖
	keepSwarm()
}

type Raincoat struct {
	name string
}

/**
 * 雨衣保暖功能
 */
func (raincoat Raincoat) keepSwarm() {
	fmt.Println("raincoat keepSwarm")
}

//雨衣防雨功能
func (raincoat Raincoat) rainProof() {
	fmt.Println("raincoat RainProof")
}
